package br.rui.cartoes.dominio;

import java.io.Serializable;
import java.util.Collection;

@SuppressWarnings("serial")
public class Extrato implements Serializable{
	
	private int codExtrato;
	private String periodo;
	private Taxa taxa;
	private Double totalBruto;
	private Double totalLiquido;
	private Double taxaADM;
	private Collection<Lancamento> lancamentos;
	private Double taxaPOS;
	
	public Extrato(int codExtrato, String periodo, Taxa taxa, Double totalBruto, Double totalLiquido, Double taxaReais, Double taxaPOS) {
		this.codExtrato = codExtrato;
		this.periodo = periodo;
		this.taxa = taxa;
		this.totalBruto = totalBruto;
		this.totalLiquido = totalLiquido;
		this.taxaADM = taxaReais;
		this.taxaPOS = taxaPOS;
	}

	public Extrato(int codExtrato, String periodo) {
		this.codExtrato = codExtrato;
		this.periodo = periodo;
	}

	public Extrato(String periodo, Taxa taxa, Double totalBruto, Double totalLiquido, Double taxaReais, Double taxaPOS) {
		this.periodo = periodo;
		this.taxa = taxa;
		this.totalBruto = totalBruto;
		this.totalLiquido = totalLiquido;
		this.taxaADM = taxaReais;
		this.taxaPOS = taxaPOS;
	}
	
	public Extrato() {	}

	public int getCodExtrato() {
		return codExtrato;
	}

	public void setCodExtrato(int codExtrato) {
		this.codExtrato = codExtrato;
	}

	public String getPeriodo() {
		return periodo;
	}

	public void setPeriodo(String periodo) {
		this.periodo = periodo;
	}

	public Taxa getTaxa() {
		return taxa;
	}

	public void setTaxa(Taxa taxa) {
		this.taxa = taxa;
	}

	public Double getTaxaADM() {
		return taxaADM;
	}

	public void setTaxaADM(Double taxaReais) {
		this.taxaADM = taxaReais;
	}

	public Double getTotalBruto() {
		return totalBruto;
	}

	public void setTotalBruto(Double totalBruto) {
		this.totalBruto = totalBruto;
	}

	public Double getTotalLiquido() {
		return totalLiquido;
	}

	public void setTotalLiquido(Double totalLiquido) {
		this.totalLiquido = totalLiquido;
	}

	public Collection<Lancamento> getLancamentos() {
		return lancamentos;
	}

	public void setLancamentos(Collection<Lancamento> lancamentos) {
		this.lancamentos = lancamentos;
	}
	
	public Double getTaxaPOS() {
		return taxaPOS;
	}

	public void setTaxaPOS(Double taxaPOS) {
		this.taxaPOS = taxaPOS;
	}
}
